<?php
//standard theme images
 $b_dir='gfx/basic/';

 $GLOBALS['theme_img']['mail']=$b_dir.'email.png';
 $GLOBALS['theme_img']['user_info']=$b_dir.'user_info.png';
 $GLOBALS['theme_img']['www']=$b_dir.'url.png';
 $GLOBALS['theme_img']['pm']=$b_dir.'pm.png';
 $GLOBALS['theme_img']['quote']=$b_dir.'quote.png';
 $GLOBALS['theme_img']['quote_selection']=$b_dir.'quote_selection.png';

 $GLOBALS['theme_img']['url']=$b_dir.'url.png';
 $GLOBALS['theme_img']['upload']=$b_dir.'upload.png';
 $GLOBALS['theme_img']['image']=$b_dir.'image.png';
 
 $GLOBALS['theme_img']['msg_read_0']=$b_dir.'email.png';
 $GLOBALS['theme_img']['msg_read_1']=$b_dir.'email_open.png';
 $GLOBALS['theme_img']['search']=$b_dir.'search.png';

 $GLOBALS['theme_img']['online_0']=$b_dir.'status_offline.png';
 $GLOBALS['theme_img']['online_1']=$b_dir.'status_online.png'; 

 $GLOBALS['theme_img']['expand']=$b_dir.'expand.gif';
 $GLOBALS['theme_img']['collapse']=$b_dir.'collapse.gif';
 
 $GLOBALS['theme_img']['stats_image']=$b_dir.'stats_image.jpg';
 $GLOBALS['theme_img']['stats_graph']=$b_dir.'stats_graph.jpg';
 
 $GLOBALS['theme_img']['img_ext']=$b_dir.'img_ext.gif'; 
//

//dodaj reszte
$dh = opendir($GLOBALS['theme_path'].'gfx/basic/plugins/');

while (($file = readdir($dh)) !== false) {
    if($file!='.' && $file !='..' && strpos($file, '.php')!==false) {
		include($GLOBALS['theme_path'].'gfx/basic/plugins/'.$file);
	}
}
closedir($dh);
//
?>
